package Cards;

/**
 * @author Avia Tam
 * @author Assaf Miron
 *
 */
public class Money_card extends Card {
 Double amount; // The Amount that we need to pay
 Boolean cashier; // Indicates if to pay to the Cashier or to Players
 				   // True: Pay to Cashier
 				   // False: Pay to Player
 
	/**
	 * @param type The Card Type (Surprise, Warning)
	 * @param description The Card Description
	 * @param amount The Amount that we need to pay
	 * @param cashier Indicates if to pay to the Cashier or to Players (True: Cashier, False: Player)
	 */
	public Money_card (CardType type, String description,Double amount,Boolean cashier) {
		super(type, description); // Construct Card
		this.amount = amount; // Initialize the Amount
		this.cashier = cashier; // Initialize the Cashier Parameter
	}
	
	// Amount Getter and Setter
	public Double getAmount() {
		return amount;
	}
	public Boolean getCashier() {
		return cashier;
	}
	// End - Amount Getter and Setter
}
